package com.ytc.mapper;

import com.ytc.model.Hero;

import java.util.List;

public interface HeroMapper {
    int deleteByPrimaryKey(Integer heroid);

    int insert(Hero record);

    int insertSelective(Hero record);

    Hero selectByPrimaryKey(Integer heroid);

    int updateByPrimaryKeySelective(Hero record);

    int updateByPrimaryKey(Hero record);

    List<Hero> queryHeroList();

    void addHero(Hero hero);
}